Split kit spec reference and update kit field renames#25339
Conversation
Move the spec.yaml field reference out of the Kits overview page into a new Kit spec reference page, keeping the overview focused on concepts and usage. Rewire cross-page links accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The links pointed to #defining-an-agent, but the heading "Define an agent" slugifies to #define-an-agent. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The agent.persistence field was removed from kits, so drop it from the spec reference, the agent block examples, and the build-an-agent tutorial. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename the spec.yaml memory: field to agentContext: across the spec reference, overview, and tutorial, and update the section heading, anchor, and cross-links. The memory file artifact and kits-memory/ directory keep their names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename the spec.yaml kind: agent value to kind: sandbox and the "agent kit" concept to "sandbox kit" across the overview, spec reference, examples, index, and FAQ. Update the "Agent kits" heading and its #agent-kits anchor to "Sandbox kits"/#sandbox-kits, and repoint inbound links. The agent: block and the build-an-agent.md tutorial keep their existing names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rename the spec.yaml agent: block to sandbox: and its field paths (agent.image, agent.aiFilename, agent.entrypoint) to sandbox.*. Update the "Agent block" reference heading and its #agent-block anchor to "Sandbox block"/#sandbox-block, repoint cross-links, and rename the tutorial's "Write the agent block" section. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a Changelog section at the top of the kit spec reference noting the v0.32.0 field renames (memory -> agentContext, kind: agent -> kind: sandbox, agent: block -> sandbox: block), which are deprecated aliases that sbx kit validate warns on. Also fix the per-kit directory name: v0.32.0 renamed kits-memory/ to kits-agent-context/ (with automatic migration), which the docs had not been updated to reflect. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
docker-agent
left a comment
There was a problem hiding this comment.
Assessment: 🟢 APPROVE
The split of the kits page into a conceptual overview and dedicated spec reference is clean and well-executed. All renamed fields (memory → agentContext, kind: agent → kind: sandbox, agent: block → sandbox:) are consistently applied across every changed file. The removed agent.persistence field is correctly dropped from all YAML examples. The per-kit directory rename (kits-memory/ → kits-agent-context/) is accurately documented in the Changelog. The new kit-reference.md has complete front matter. Internal links use relative filenames. No hedge words, AI-isms, or marketing language detected. No missing redirects (the old customize/kits URL path is preserved in-place).
Summary
Split the Docker Sandboxes kits page into a conceptual overview (
kits.md)and a dedicated
spec.yamlfield reference (kit-reference.md), then broughtthe reference in line with the kit field changes shipped in
sbxv0.32.0(PR docker/sandboxes#3177):
memory→agentContext,kind: agent→kind: sandbox, and theagent:block →sandbox:. Added a Changelogsection documenting these deprecations, removed the no-op
agent.persistencefield, and corrected the per-kit directory name (
kits-memory/→kits-agent-context/).Generated by Claude Code